<!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7" <?php language_attributes(); ?>><![endif]-->
<!--[if IE 8]><html class="ie ie8" <?php language_attributes(); ?>><![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="description" content="<?php bloginfo( 'description' ); ?>" />
	<meta name="author" content="" />

	<title><?php wp_title( '&raquo;', true, 'right' ); ?></title>

	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

	<!-- fav and touch icons -->
	<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/icons/favicon.png" type="image/x-icon" />

	<?php wp_head(); ?><!-- remove blank line before </head> -->
</head>

<body <?php body_class(); ?>>

	<div id="wrapper">
		<!-- start header -->
		<header>
			<!-- social link -->
			<div class="top">
				<div class="container"></div>
			</div>
			<!-- logo & navigator -->
			<div class="container">
				<div class="row nomargin">
					<div class="span4">
						<div class="logo">
							<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
								<img src="<?php echo IMAGES; ?>/logo.png" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" />
							</a>
						</div>
					</div>
					<div class="span8">
						<div class="navbar navbar-static-top">
							<div class="navigation">
								<nav>
								<?php
									// registered nav menu location has a menu assigned or not
									if ( has_nav_menu( 'primary-nav' ) ) :
										// navigation menu created in the back-end (appearance -> menus)
										wp_nav_menu( array(
											'theme_location'	=> 'primary-nav',
											'container'			=> false,
											'menu_class'		=> 'nav topnav',
											'depth'				=> 0,
											'walker'			=> new Prototype_walker_nav_menu()
										) );
									else :
										// list of wordpress pages created in the back-end (pages)
										echo '<ul class="nav topnav">';
										wp_list_pages( array(
											'title_li'	=> '',
											'depth'		=> 0,
											'walker'	=> new Prototype_walker_list_pages()
										) );
										echo '</ul>';
									endif;
								?>
								</nav>
							</div>
						</div>
					</div><!-- span8 -->
				</div>
			</div><!-- logo & navigator -->
		</header>
		<!--breadcrumbs-->
		<section id="inner-headline">
			<div class="container">
				<div class="row">
					<div class="span12">
						<div class="inner-heading">
							<ul class="breadcrumb">
								<?php
									if ( function_exists( 'ot_get_option' ) ) :
										$breadcrumb_option = ot_get_option( 'chk_breadcrumb' );
									endif;

									if ( $breadcrumb_option ) :
										if ( function_exists( 'prototype_dimox_breadcrumbs' ) )
											// generate breadcrumb navigator
											prototype_dimox_breadcrumbs();
									endif;
								?>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</section>
	</div>